/**
 * @author emylyano3
 *
 */

package com.design.components;

import java.awt.image.BufferedImage;
import java.util.List;

import com.data.IdManager;

public class Image extends DesignComponent implements AttributeTypes {
	
	//**************************************************************************************************
	//	Constructor.
	//**************************************************************************************************
	
	public Image() {
		super(IdManager.IMAGE_PREFIX);
	}
	
	//**************************************************************************************************
	//	Attributes.
	//**************************************************************************************************

	public static byte quantity;
	private BufferedImage draw;
	private String absolutePath;
	private int x;
	private int y;
	private int width;
	private int height;

	//**************************************************************************************************
	//	Public Methods.
	//**************************************************************************************************

	@Override
	public void dumpAttributes(List <String> names, List <String> values) {
		super.dumpCommonAttributes(names, values);
	}

	@Override
	public void keepAttributes(List<String> values) {
		
	}
	
	//**************************************************************************************************
	//	Getters & Setters.
	//**************************************************************************************************
	
	public void setDraw(BufferedImage draw) {
		this.draw = draw;
	}
	public BufferedImage getDraw() {
		return draw;
	}

	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}
	public String getAbsolutePath() {
		return absolutePath;
	}

	public void setX(int x) {
		this.x = x;
	}
	public int getX() {
		return x;
	}
	
	public void setY(int y) {
		this.y = y;
	}
	public int getY() {
		return y;
	}
	
	public void setWidth(int width) {
		this.width = width;
	}
	public int getWidth() {
		return width;
	}
	
	public void setHeight(int height) {
		this.height = height;
	}
	public int getHeight() {
		return height;
	}
}
